<template>
  <div>
    <PC v-if="isPC"></PC>
    <MOBILE v-else></MOBILE>
  </div>
</template>
<script>
  import PC from './signPC'
  import MOBILE from './signM'
  export default {
    name: 'Pdf',
    components: {
      PC,
      MOBILE
    },
    data() {
      return {
        isPC:false
      }
    },
    mounted() {
      if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
        this.isPC = false
      } else {
        this.isPC = true
      }
      // 没错, 就这2行
    },
    methods: {

    }
  }
</script>
